import sys

import os

PWD =  os.getcwd()
txt = sys.stdin.readlines()

import urlparse
txt = [" rm -rf "+ PWD + one[1:] for one in txt]

for one in txt:
    print one   
    os.system(one)




